package com.zj.osm.view.map.map;

import com.zj.osm.entity.greendao.Line;
import com.zj.osm.entity.greendao.Point;
import com.zj.osm.entity.greendao.Project;
import com.zj.osm.mvp.MvpView;

import org.osmdroid.util.GeoPoint;

import java.util.List;

/**
 * 地图页面的View
 *
 * @author jiang zhu on 2019/10/26
 */
public interface MapActivityView extends MvpView {

    void toPointsLocation(GeoPoint geoPoint);

    //void addPoint(Point point,Line line);

    //void addWithTheLever(Line line);

    void initPointAndLine(Project project, List<Point> pointList, List<Line> lineList, List<Line> withTheLeverLineList);

    //void deletePoint(Point point, List<Line> lineList);

    //void connectionLine(Line line);

    void continuingSurvey(Point point);

    /**
     * 跟新mapView上面的线
     * @param line
     */
    void drawMyRoute(Line line);

    /**
     * 跟新mapView上面的 marker
     * @param point
     * @param jixukance
     */
    void drawMarker(Point point,Line line,boolean jixukance);


}
